var e = require;
var t = module;
cc.Class({
    extends: cc.Component,
    properties: {labelContext: {default: null, type: cc.Label}},
    start: function start() {},
    show: function show(e) {
        var t = this;
        (this.labelContext.node.group = this.node.group),
            (this.labelContext.node.groupIndex = this.node.groupIndex),
            this.labelContext && (this.labelContext.string = e),
            (this.node.scale = 0.001),
            (this.node.opacity = 0),
            cc
                .tween(this.node)
                .to(0.2, {scale: 1, opacity: 255}, {easing: "sineInOut"})
                .delay(2)
                .to(0.2, {scale: 0.001, opacity: 0}, {easing: "sineInOut"})
                .call(function () {
                    lGlobal.ltoastPool.put(t.node);
                })
                .start();
    }
});
